import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';
import { query2obj } from '@feidao/core/querystring';
import client_login from '@feidao/web/atom/browser/msg/user-login';
import put_info from '@feidao/web/atom/browser/storage/put';



export default async function a005(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	const text = args[0].target.dataset.feidaoId;
	console.log(text);
	if (text === "namei") {
		document.querySelector<HTMLInputElement>("#uname").value = '';
	} else {
		document.querySelector<HTMLInputElement>("#upwd").value = '';
	}
}